<?php

namespace App\Model;

use Illuminate\Database\Eloquent\Model;

class OANoteFiles extends Model
{
    protected $table = 'note_files';
    protected $fillable = [
        'pid','title','fsize','hz','furl','fdir','is_del','is_edit','uid'
    ];
    public $timestamps = false;

    public function note()
    {
        return $this->belongsTo(OANote::class,'pid');
    }
}
